﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductMonitor.Models
{
    public class WorkShopModel
    {
   
        public string WorkShopName { get; set; } // 车间名称
        public int WorkingCount { get; set; } // 车间编码

        public int WaitCount { get; set; } // 车间数量

        public int WrongCount { get; set; } // 车间数量

        public int StopCount { get; set; } // 车间数量

        public int TotalCount
        {
            get { return WorkingCount + WaitCount + WrongCount + StopCount;
            } 

        }
    }
}
